package com.dieusoft.box.portdata.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dieusoft.box.portdata.entity.DictPort;
import com.dieusoft.box.portdata.mapper.DictPortMapper;
import com.dieusoft.box.portdata.service.IDictPortService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description: dict_port
 * @Author: dongwu
 * @Date: 2021-03-15
 * @Version: V1.0
 */
@Service
public class DictPortServiceImpl extends ServiceImpl<DictPortMapper, DictPort> implements IDictPortService {

    @Resource
    private DictPortMapper dictPortMapper;

    @Override
    public List<DictPort> findByName(String name) {
        return dictPortMapper.findByName(name);
    }
}
